package top.aicats.blog.BlogManage.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.web.bind.annotation.RestController;
import top.aicats.blog.BlogManage.model.BlogMainType;

import java.util.List;

/**
 * @author sjc
 * @version 1.0
 * @date 2020/1/7 21:07
 * @email 952491025@qq.com
 */
@Mapper
public interface MainBlogTypeMapper {
    int insertOneMainType(BlogMainType type);

    List<BlogMainType> getAllMainBlogType();

    int deleteMainBlogType(BlogMainType type);
}
